package com.house.keeper.mapper;

import com.house.keeper.base.BaseMapper;
import com.house.keeper.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 角色模型
 * @author zjj
 * @date 202-05-09
 */
@Mapper
@Repository
public interface RoleMapper extends BaseMapper<Role> {
    List<Role> queryRoleByUserId(int userId);
}
